package dao;

import java.util.ArrayList;
import java.util.List;

import org.apache.ibatis.annotations.Param;

import entity.Product;


public interface Product_dao {
	public ArrayList<Product> getallproduct();
	public List<Product> getlistByStatus(Integer status);
	public boolean saveProduct(Product product);
	public boolean updateProduct(Product product);
	public Product getproByid(@Param("id") int id);
	public List<Product> getproByName(String proName);
	public boolean deleteProduct(Integer productId);
}
